package com.wiz.web.dao.mapper;

import org.apache.ibatis.annotations.Param;

import com.wiz.vo.criteria.PayCriteria;

public interface WxPayMapper {

	/**
	 * 插入微信支付订单
	 * @param criteria
	 * @return
	 */
	int insertWxPayOrder(PayCriteria criteria);
	
	/**
	 * 更新微信支付订单
	 * @param criteria
	 * @return
	 */
	int updateWxPayOrder(PayCriteria criteria);
	/**
	 * 是否已充值过
	 * @param outTradeNo
	 * @return
	 */
	int checkWxPayOrderIsCharge(@Param(value="outTradeNo")String outTradeNo);
}
